package com.ss;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * https://www.jianshu.com/p/8b9e6f7843b6
 *
 * https://blog.csdn.net/songt1122/article/details/125651825
 * https://www.cnblogs.com/zlaoyao/p/16588950.html
 * https://blog.csdn.net/weixin_45496725/article/details/123052092
 * https://blog.csdn.net/weixin_47315168/article/details/124411436
 *
 */
@EnableGlobalMethodSecurity(prePostEnabled = true)
@MapperScan("com.ss.mapper")
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Application.class, args);
        System.out.println(context);
    }
}
